package cc.catface.dao.biz.app.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel
public class GetUserChannelOUTDTO {
    @ApiModelProperty(value = "频道ID")
    private int channelId;
    @ApiModelProperty(value = "频道名称")
    private String channelName;
    @ApiModelProperty(value = "排序")
    private int ord;
    @ApiModelProperty(value = "创建时间[yyyy-MM-dd HH:mm:ss]")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
}
